package com.smart.sso.server.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.smart.mvc.dao.mybatis.Dao;
import com.smart.mvc.model.Pagination;
import com.smart.sso.server.model.RegisterUser;

public interface RegisterUserDao extends Dao<RegisterUser, Integer> {
	
	public RegisterUser findByAccount(@Param("account") String account);
	
	public List<RegisterUser> findPaginationByAccount(@Param("account") String account, Pagination<RegisterUser> p);
	
	public List<RegisterUser> findById(@Param("idList") List<Integer> idList);

}
